/*
 * Copyright (c) 2023 Cshoo Org. All Rights Reserved.
 */

package org.cshoo.tattoo.embed.infra.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author 杨翼
 * @since 1.0
 */
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
public class NotConfiguredException extends Exception {

    private String code;

    public NotConfiguredException(String message) {
        super(message);
    }

    public NotConfiguredException(String code, String message) {
        super(message);
        this.code = code;
    }

}
